package com.zhq.zhq_blog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;

import java.time.LocalDateTime;

/**
 * 回复数据
 */

@TableName("tb_reply")
@ApiModel(value = "Reply对象", description = "")
public class Reply {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String nickName;

    private Integer commentId;

    private String content;

    private String status;

    private LocalDateTime createDate;

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }
    public String getNickName() {
        return nickName;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getId() {
        return id;
    }

    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public void setContent(String content) {
        this.content = content;
    }
    public String getContent() {
        return content;
    }

    public void setStatus(String status) {
        this.status = status;
    }
    public String getStatus() {
        return status;
    }

    public void setCreateDate(LocalDateTime createDate) {
        this.createDate = createDate;
    }

    @Override
    public String toString() {
        return "ReplyDetail{" +
                "id=" + id +
                ", nickName='" + nickName + '\'' +
                ", commentId='" + commentId + '\'' +
                ", content='" + content + '\'' +
                ", status='" + status + '\'' +
                ", createDate=" + createDate +
                '}';
    }
}
